%h1=_ "Listing settings"
%table
  %tr
    - for column in Setting.content_columns 
      %th= column.human_name 
  - for setting in @settings 
    %tr
      - for column in Setting.content_columns
        %td=h setting.send(column.name)
      %td= link_to _('Show'), :action => 'show', :id => setting 
      %td= link_to _('Edit'), :action => 'edit', :id => setting 
      %td= link_to _('Destroy'), { :action => 'destroy', :id => setting }, :confirm => 'Are you sure?'
= link_to _('Previous page'), { :page => @setting_pages.current.previous } if @setting_pages.current.previous 
= link_to _('Next page'), { :page => @setting_pages.current.next } if @setting_pages.current.next 
= "<br />"
= link_to _('New setting'), :action => 'new'
